#ifndef Thread_h__
#define Thread_h__

#include <SDL.h>

class Thread
{
public:
	virtual ~Thread(){}
	void Start();
    int WaitForFinish();

protected:
	friend int ThreadStarter(void* data);
	virtual void Work() = 0;
    SDL_Thread* m_t;
};
#endif // Thread_h__
